/*
 * @Author: Guiter 1336263157@qq.com
 * @Date: 2023-11-17 17:56:23
 * @LastEditors: Guiter 1336263157@qq.com
 * @LastEditTime: 2023-11-25 12:16:08
 * @FilePath: \nuxt3-music-player\uno.config.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import {
  defineConfig,
  presetAttributify,
  presetIcons,
  presetTypography,
  presetUno,
  transformerDirectives,
  transformerVariantGroup
} from 'unocss';

export default defineConfig({
  shortcuts: {
    'button-default':
      'px-5 py-1 text-lg rounded-full mr-3 my-1 bg-transparent border-solid border-3 text-black font-semibold',
    'border-t-default': 'border-t-5 border-solid border-black box-border',
    'border-b-default': 'border-b-5 border-solid border-black box-border',
    'border-r-default': 'border-r-5 border-solid border-black box-border',
    'border-l-default': 'border-l-5 border-solid border-black box-border',
    'border-default': 'border-5 border-solid border-black box-border',
    'lists-active':
      'h-8 bg-gray-900 text-[#fff] leading-8 rounded-lg pl-2 mx-3 text-base cursor-pointer my-1 font-semibold ',
    'lists-default':
      'h-8 text-black leading-8 rounded-lg pl-2 mx-3 text-base cursor-pointer my-1 hover:bg-gray-300 font-semibold ',
    'flex-default': 'flex justify-center items-center',
    'position-default': 'absolute top-[50%] left-[50%]'
  },
  presets: [presetUno(), presetAttributify(), presetIcons(), presetTypography()],
  transformers: [transformerDirectives(), transformerVariantGroup()]
});
